define(['vue','store'], function(Vue,Store){
    var component = Vue.extend({
    	mixins: [Store],
		template: '<div class="left-menu-list pull-left">\
					  <router-link to="/content/rel" class="leftMenuActive">关于我们&nbsp;&nbsp;&nbsp;&nbsp;<font color="red">{{msgCount}}</font></router-link>\
					  <router-link to="/content/link" class="leftMenuActive">联系我们</router-link>\
					  <router-link to="/content/named" class="leftMenuActive">法律条款</router-link>\
		  		   </div>',
		data : function() {
			return {
				msgCount:1
			}
		},
		created:function(){
		},
		watch:{
			msgCount(newVal,oldVal){
				console.log('from sider:' + newVal);
			}
		}
	});
	return component;
});
